<%@ taglib uri="/WEB-INF/tld/struts-html.tld" prefix="html" %>
<%@ taglib uri="/WEB-INF/tld/struts-bean.tld" prefix="bean" %> 
<%@ taglib uri="/WEB-INF/tld/c.tld" prefix="c"%>
<%@ taglib uri="http://displaytag.sf.net" prefix="display" %>

<div>
  <ul id="pageList">
		<c:forEach var = "listElement" items = "${requestScope.giftPage}" varStatus="counter">
			<li>
				<a href="<c:url value="/ShowGift.do?page=${counter.count}"/>">${counter.count}</a>
			</li>
		</c:forEach>  
	</ul>
</div>

<c:forEach var = "listElement" items = "${requestScope.giftList}">
<table class="newsadmin">
  <tr class="newshead">
    <td>
       <a href="<c:url value="/ViewEditGift.do?id=${listElement.id}"/>"><c:out value="${listElement.name}"/></a></td>
    <td class="newsdate">Euro ${listElement.price}</td>
  </tr>
  <tr class="newsdes">
    <td colspan="2"> ${listElement.description}</td>
  </tr>

  <tr>
    <td colspan="2">
      <a href="${listElement.link}">${listElement.link}</a></td>
  </tr>
  <tr>
    <td colspan="2">${listElement.link_name}</td>
  </tr>
  <tr class="newsbottom">
  <td></td>
  </tr>
</table>
</c:forEach>
<div>
  <ul id="pageList">
		<c:forEach var = "listElement" items = "${requestScope.giftPage}" varStatus="counter">
			<li>
				<a href="<c:url value="/ShowGift.do?page=${counter.count}"/>">${counter.count}</a>
			</li>
		</c:forEach>  
	</ul>
</div>